package com.itbour.service.yjx.user;

import java.util.List;
import java.util.Map;

import com.itbour.com.page.Page;
import com.itbour.dto.yjx.user.ItbQaInfoDto;
import com.itbour.dto.yjx.user.TmpChkIdDto;


public interface SendRocketMesService {

	// 判断 是否需要加入缓存
	// {"setid":666} 操作模板组
	// {"uTmplId":888} 操作单个模板
	public boolean checkSendMesToJoinRedis(TmpChkIdDto chkId,Integer state,String tag);
	
	// 单向发送 rocketMes消息
	public boolean sendRocketMes(Map<String, Object> parm);

	// 异步发送 rocketMes消息
	public boolean asySendRocketMes(Map<String, Object> parm);
	
	public String sendMesBuildCache(Map<String, Object> parm);
	
	public Object upItbQaInfo(Map<String, Object> parm);
	
	public Page getQaInfo(Map<String, Object> parm,Integer pageNo,
			Integer pageSize);
	public List<ItbQaInfoDto> getQaTmplInfo(Map<String, Object> parm);
	
	public String sendMesUpdateYjscTmpl(Map<String, Object> parm);// 更新模板
}
